package org.third.integration.vault;

import org.hibernate.validator.constraints.NotEmpty;

import javax.validation.Valid;
import java.util.List;

public class AppRolesListDTO {
	
	@NotEmpty(message = "vaultNamespace can't be empty")
	private String vaultNamespace;
	
	@Valid
	private List<AppRole> appRoleList;
	
	public String getVaultNamespace() {
		return vaultNamespace;
	}
	
	public void setVaultNamespace(String vaultNamespace) {
		this.vaultNamespace = vaultNamespace;
	}
	
	public List<AppRole> getAppRoleList() {
		return appRoleList;
	}
	
	public void setAppRoleList(List<AppRole> appRoleList) {
		this.appRoleList = appRoleList;
	}
	
}
